package com.itmk.web.room.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.itmk.web.room.entity.Room;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author java实战基地
 * @since 2023-10-11
 */
public interface RoomMapper extends BaseMapper<Room> {
    IPage<Room> getList(IPage<Room> page, @Param("categoryId") String categoryId, @Param("roomName") String roomName);
    IPage<Room> getIndexList(IPage<Room> page, @Param("categoryId") String categoryId);
}
